package org.springframework.aop;

import org.aopalliance.intercept.MethodInvocation;

/**
 * <p>@description: 代理方法单元 </p>
 *
 * @author yangshuang
 * @version 1.0
 * @date 2019/2/19 22:28
 */
public interface ProxyMethodInvocation extends MethodInvocation {


    /**
     * 代理对象
     *
     * @return
     */
    Object getProxy();

    MethodInvocation invocableClone();


    MethodInvocation invocableClone(Object... arguments);


    void setArguments(Object... arguments);


    void setUserAttribute(String key, Object value);


    Object getUserAttribute(String key);
}
